using System;
using System.Collections;

using DesignByContract;

namespace Outcoding.GraphGenerator.Entities {
    public class LineColorDispatcher : DispatcherBase {

        private int[] mAvailableColors;

        public LineColorDispatcher()
            : base() {
            mAvailableColors = new int[] { 1, 9, 10, 11, 12, 13, 14 };
            mIsAutoFill = true;
            this.Fill();
        }

        protected override void Fill() {
            foreach (int tmp in mAvailableColors)
                this.Add(tmp);
        }
    }
}